home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
windows
/
comms
/
recomm10.arj
/
DLLINIT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-12
|
534b
|
37 lines
#include "winvir.h"
HANDLE hLibrary;
int initDll();
void exitDll();
int FAR PASCAL LibMain(HINSTANCE hInst, WORD wDataSeg, WORD cbHeap,
LPSTR lpszCmdLine )
{
hLibrary = hInst;
// vironal(hLibrary); // Bibliothek auf Codeveränderungen überprüfen
initDll();
if(cbHeap >0)
{ UnlockData(wDataSeg);
}
return 1;
}
int PASCAL FAR WEP( int nParam )
{
int nRVal;
switch( nParam )
{
case WEP_SYSTEM_EXIT:
case WEP_FREE_DLL:
default:
nRVal = 1;
exitDll();
}
return nRVal;
}